import { AxiosRequestConfig } from "axios";

// 此处可以单独配置axios创建参数
const config: AxiosRequestConfig = {
  baseURL: "http://localhost:8080",
  timeout: 10000,
  headers: {
    Authorization: localStorage.getItem("tokenValue") ?? "",
    "Content-Type": "application/json;charset=UTF-8",
    "X-Requested-With": "XMLHttpRequest",
  },
};
